import"../common/modulepreload-polyfill-3cfb730f.js";const o=[..."123456"],s={template:`
        <div>
          <button @click="handel">点击1</button>
          <p><br /></p>
          <button @click="handel2">点击2</button>
          <h1>{{ msg }}</h1>
        </div>
        `,props:{msg:String},watch:{msg(t){console.log(t,"-->>> HelloWorld watch")}},methods:{async handel(){for(let t of o)console.log([t,this.msg],"i, msg"),this.msg||this.$emit("update:msg",t)},async handel2(){let t="";for(let e of o)console.log([e,t],"i, msg"),t||(t=e);this.msg||this.$emit("update:msg",t)}}};new Vue({el:"#app",components:{hello:s},data(){return{text:""}},beforeUpdate(){console.log(this.text,"-->>> text page beforeUpdate")},updated(){console.log(this.text,"-->>> text page updated")}});
